package io.renren.modules.sys.service;

import io.renren.modules.sys.entity.SongEntity;
import io.renren.modules.sys.entity.TeachEntity;
import io.renren.modules.sys.entity.TeachSongEntity;
import io.renren.modules.sys.entity.VedioEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author wangyi
 * @email 794651397@qq.com
 * @date 2018-02-24 10:46:44
 */
public interface TeachService {
	
	TeachEntity queryObject(Long id);
	
	List<TeachEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TeachEntity teach);
	
	void update(TeachEntity teach);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

    List<SongEntity> getSongByTeachId(Long id);

    void deleteTeachSong(Integer teachId);

    void addTeachSongBatch(List<TeachSongEntity> l);

    void deleteTeachVideo(Integer teachId);

    void addTeachVedioBatch(List<VedioEntity> vedioEntityList);

    List<VedioEntity> getVedioByTeachId(Long id);
}
